<template>
  <div>
    <h1>
    BaseC.vue--{{ count }}
    <button @click="sayHello">打印message</button>
    </h1>
  </div>
</template>

<script setup>
import {ref,defineExpose} from 'vue'
const count=ref(666)
const sayHello=()=>{
    console.log('hello,world');
}
defineExpose({
    sayHello,
    count
})
</script>

<style>

</style>